package com.etone.log4j.l2;

import org.apache.log4j.PropertyConfigurator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;



public class Test {

//	Logger log = Logger.getLogger("test1");
	static {
		PropertyConfigurator.configure(Test.class.getClassLoader().getResource("resource/log4j.properties"));
	}
	private static Logger logger = LoggerFactory.getLogger(Test.class);
	public static void main(String[] args) {

		logger.info(logger.getName()+ "======2");
	}

}
